#ifndef ACTIONMOUSE_H
#define ACTIONMOUSE_H

#include <QtCore>
#include "iaction.h"

enum InputAction
{
    IAActDown, //只是按下 暂时只是左键.
    IAActMove, //只是移动
    IAActUp,   //只是抬起
    IAActClick,   //单机
    IAActDouble, //双击
    _TOTAL_InputAction_
};

class ActionMouse : public IAction
{
public:
    ActionMouse(InputAction action,const QPoint coordinator=QPoint());

    int execute();

private:
    int syswidth,sysheight;
};

#endif // ACTIONMOUSE_H
